package me.fangjian.antunet.lib;

public class Buffer {
	private byte[] data;
	private int len;
	private int allocated_len;
	
	public Buffer(int allocated_len){
		this.allocated_len = allocated_len;
		this.len = 0;
		this.data = new byte[allocated_len];
	}

	public byte[] getData() {
		return data;
	}

	public int getLen() {
		return len;
	}

	public int getAllocated_len() {
		return allocated_len;
	}
}
